package com.demo.dao;

import org.springframework.transaction.annotation.Isolation;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.demo.model.Complex;
import com.demo.model.ComplexWithBLOBs;
@Transactional(propagation=Propagation.REQUIRES_NEW,readOnly=false,isolation=Isolation.DEFAULT)
public interface ComplexDAO {
    int deleteByPrimaryKey(Integer id);

    int insert(ComplexWithBLOBs record);

    int insertSelective(ComplexWithBLOBs record);

    ComplexWithBLOBs selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ComplexWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(ComplexWithBLOBs record);

    int updateByPrimaryKey(Complex record);
}